package com.miao.service.Impl;

import com.miao.mapper.IUserMapper;
import com.miao.service.IUserService;

public class UserServiceImpl implements IUserService {

    private IUserMapper userMapper;

    public IUserMapper getUserMapper() {
        return userMapper;
    }

    public void setUserMapper(IUserMapper userMapper) {
        this.userMapper = userMapper;
    }

    @Override
    public void printUser() {
        System.out.println("Service层调用userMapper");
        userMapper.printUser();
    }

}
